package com.booktrade.dto;

import com.booktrade.entity.OrderItems;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
public class OrderDTO {

    private Integer id;
    private Integer buyerId;
    private Integer sellerId;
    private BigDecimal totalPrice;
    private String status;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
    private List<OrderItems> orderItems;
}
